package com.baor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baor.domain.AdjustVo;
import com.baor.domain.ChangeVo;
import com.baor.domain.LeaveTypeVo;
import com.baor.domain.LeaveVo;
import com.github.yulichang.base.MPJBaseMapper;
import com.github.yulichang.base.MPJBaseServiceImpl;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ApprovalDao extends BaseMapper<LeaveVo> {

    List<LeaveVo> empApprovalList(Map<String,Object> map);
    Integer empPageCount(Map<String, Object> map);
    Integer empApproval(Map<String, Object> map);

    List<AdjustVo> adjustApprovalList(Map<String,Object> map);
    Integer adjustPageCount(Map<String, Object> map);
    Integer adjustApproval(Map<String, Object> map);
    AdjustVo selectAdjust(Map<String, Object> map);

    List<ChangeVo> changeApprovalList(Map<String,Object> map);
    Integer changePageCount(Map<String, Object> map);
    Integer changeApproval(Map<String, Object> map);
    ChangeVo selectChange(Map<String, Object> map);

}
